package com.gali.mall.service;

import com.gali.mall.model.pojo.OrderItem;

/**
 * @author gali
 * @date 2022/4/25 21:21
 */
public interface OrderItemService {
    /**
     * 添加订单
     * @param orderItem
     * @return
     */
    boolean addOrderItem(OrderItem orderItem);

    /**
     * 删除订单
     * @param id
     * @return
     */
    boolean deleteOrderItem(Integer id);

    /**
     * 更新订单
     * @param orderItem
     * @return
     */
    boolean reviseOrderItem(OrderItem orderItem);

    /**
     * 查询订单
     * @param id
     * @return
     */
    OrderItem selectOrderItem(Integer id);
}
